import matplotlib
import matplotlib.pyplot as plt
import numpy as np


def plot_scatter():
    # 10个点
    N = 10
    x = np.random.rand(1, 10)
    y = np.linspace(0, 10, 10)
    figure, axes = plt.subplots()
    # 点大小
    s = np.linspace(0, 10, 10) * 1000
    axes.spines["top"].set_color("none")
    axes.spines["right"].set_color("none")
    axes.scatter(x, y, s=s, c=s)
    plt.show()


if __name__ == "__main__":
    plot_scatter()